package bootstrap

import (
	"MoSkeleton/framework"
	"MoSkeleton/global"

	_ "MoSkeleton/bootstrap/internal"
)

func DoSysInit() {
	//生命周期global.before -> framework.before -> global.init -> framework.init -> framework.after -> global.after
	global.BeforeInitSystem()
	framework.BeforeInitFramework()
	// 系统初始化
	global.DoInitSystem()
	//framework初始化
	framework.DoInitFramework()
	framework.AfterInitFramework()
	global.AfterInitSystem()
}
